﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myApp">
<head>
    <meta charset="utf-8">  
    <meta http-equiv="X-UA-Compatible" content="IE=edge">  
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>职卓科技</title>
    <!-- BOOTSTRAP STYLES-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="assets/font/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="assets/css/iconfont.css">
    <link href="assets/css/custom.css" rel="stylesheet" />
        <!-- CUSTOM STYLES-->
    <link href="assets/css/xinxi.css" rel="stylesheet" />
    <link rel="stylesheet" href="assets/css/dateSelect.css">
    <link rel="stylesheet" href="assets/css/data.css">
     <!-- GOOGLE FONTS-->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <link rel="stylesheet" href="assets/css/calendar.css">
    <link rel="stylesheet" href="assets/css/github.min.css">
    <link rel="stylesheet" href="assets/css/jquery-clockpicker.min.css">
    <link rel="stylesheet" href="assets/css/awesomplete.css">
    <script src="assets/js/jquery-3.1.1.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>
      <!-- BOOTSTRAP SCRIPTS -->
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/Ecalendar.jquery.min.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->  
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->  
    <!--[if lt IE 9]>  
    <script src="assets/js/html5shiv.min.js"></script>
    <script src="assets/js/respond.js"></script>
    <![endif]-->

    <script src="angular/angular.min.js"></script>
    <script src="assets/js/tm.pagination.js"></script>
    <script src="angular/angular-route.js"></script>
</head>
<script>
    function getCookie(cookie_name){
        var allcookies = document.cookie;
        var cookie_pos = allcookies.indexOf(cookie_name);
        if (cookie_pos != -1){
            cookie_pos += cookie_name.length + 1;
            var cookie_end = allcookies.indexOf(";", cookie_pos);
            if (cookie_end == -1){cookie_end = allcookies.length;}
            var value = unescape(allcookies.substring(cookie_pos, cookie_end));}
        return value;
    }
    var token=getCookie("token");
</script>
<body>
<!-- 
writers : guohongjun 
professional : Holy professional web development
time: 2017 6 /29 16:26;   
God's general logic you can change your skill   
-->
    <div id="wrapper">
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="adjust-nav">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand"><img src="assets/img/zhizhuo.png" class="img-responsive"></a>
                </div>
                 <div class="navbar-jishi" id="myclock" style="position: absolute;left: 320px;top: 15px;"></div>
                <!--小铃铛-->
                <div class="swiper_wrap">
                    <ul class="font_inner">
                        <li>
                            <a href="#/onetoonedaily">1、您有<span id="number_1"></span>条一对一报课单尚未审批</a>
                        </li>
                        <li>
                            <a href="#/onetoonewithdraw">2、您有<span id="number_2"></span>条一对一退课单尚未审批</a>
                        </li>
                        <li>
                            <a href="#/onetoonepay">3、您有<span id="number_3"></span>条一对一补交单尚未审批</a>
                        </li>
                        <li>
                            <a href="#/classdaily">4、您有<span id="number_4"></span>条班课报课单尚未审批</a>
                        </li>
                        <li>
                            <a href="#/classwithdraw">5、您有<span id="number_5"></span>条班课退课单尚未审批</a>
                        </li>
                        <li>
                            <a href="#/classpay">6、您有<span id="number_6"></span>条班课补交单尚未审批</a>
                        </li>
                    </ul>
                    <!--<a href="javascript:void(0)" class="lt">&lt;</a>-->
                    <a href="javascript:void(0)" class="gt">&gt;</a>
                </div>
                <!--小铃铛 end-->
                <div class="navbar-collapse collapse">
                    <div class="zong">
                        <img src="assets/img/refresh.png" alt="" class="refresh"onclick="window.location.reload();">
                        <span onclick="window.location.reload();" class="shuaxin">刷新</span>
                        <img src="assets/img/account.png" alt="" class="account">
                        <div class="liebiao">
                            <ul class="menu-one">
                                <li class="li-one" >
                                    <div class="in-name" style="width: 100%">
                                        <span id="nowUsername" class="index-name"></span>
                                        <img src="assets/img/black.png" alt="" >
                                    </div>
                                    <ul class="menu-two">
                                       <li class="li-two" id="logout">退出</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <script type="text/javascript">
            window.onload = function(){
                var li_one = document.getElementsByClassName('menu-one')[0].getElementsByClassName('li-one');
                // 一级导航触发 鼠标移上
                var over_one = function(i){
                    li_one[i].onmouseover  = function(){
                        var ul_two = li_one[i].getElementsByClassName('menu-two')[0];
                        ul_two.style.setProperty('display','block') ;
                    }
                }
                // 一级导航触发 鼠标移出
                var out_one = function(i){
                    li_one[i].onmouseout  = function(){
                        var ul_two = li_one[i].getElementsByClassName('menu-two')[0];
                        ul_two.style.setProperty('display','none');
                    }
                }
                for (var i=0; i<li_one.length;i++){
                    over_one(i);
                    out_one(i);
                }
            }
        </script>
        <!-- /. NAV TOP  -->
        <nav class="navbar-default navbar-side" role="navigation" ng-controller="indexController">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
                    <li>
                        <a href="javascript:;"><i class="fa fa-desktop "></i>个人信息<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/information">我的信息</a></li>
                            <li><a href="#/book">员工通讯录</a></li>
                            <li><a href="#/modify">修改密码</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true || ROLE_PRINCIPAL==true || ROLE_FINANCE==true">
                        <a href="#"><i class="fa fa-edit "></i>审批<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/onetoonedaily">一对一报课单</a></li>
                            <li><a href="#/onetoonewithdraw">一对一退课单</a></li>
                            <li><a href="#/onetoonepay">一对一补交</a></li>
                            <li><a href="#/classdaily">班课报课单</a></li>
                            <li><a href="#/classwithdraw">班课退课单</a></li>
                            <li><a href="#/classpay">班课补交</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true ||ROLE_CONSULTING==true ||ROLE_CONSULTING_COMPETENT==true ||ROLE_EDUCATION==true ||ROLE_EDUCATION_COMPETENT==true ||ROLE_FINANCE==true|| ROLE_PRINCIPAL==true">
                        <a href="#"><i class="fa fa-edit "></i>学员招生<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/Daily">学员管理</a></li>
                            <li><a href="#/transfer">一对一合同</a></li>
                            <li><a href="#/change">班课合同</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true ||ROLE_CONSULTING==true ||ROLE_CONSULTING_COMPETENT==true ||ROLE_EDUCATION==true ||ROLE_EDUCATION_COMPETENT==true || ROLE_PRINCIPAL==true">
                        <a href="#"><i class="fa fa-table "></i>排课模块<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/one to one">班课</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true ||ROLE_CONSULTING==true ||ROLE_CONSULTING_COMPETENT==true ||ROLE_EDUCATION==true ||ROLE_EDUCATION_COMPETENT==true || ROLE_PRINCIPAL==true">
                        <a href="#"><i class="fa fa-table "></i>课表模块<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/day">日课表</a></li>
                            <li><a href="#/schedule">总课表</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true || ROLE_FINANCE==true">
                        <a href="#"><i class="fa fa-edit "></i>财务模块<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/paymethod">缴费方式</a></li>
                            <li><a href="#/payrecord">缴费记录</a></li>
                        </ul>
                    </li>
                    <li ng-show="admin==true ||ROLE_PRINCIPAL==true">
                        <a href="#"><i class="fa fa-edit "></i>教学设置<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/subject">科目设置</a></li>
                            <li><a href="#/school">校区设置</a></li>
                            <li><a href="#/grade">年级设置</a></li>
                            <li><a href="#/class">班级设置</a></li>
                        </ul>
                    </li>
                    <!--<li>-->
                    <!--<a href="#/upload"><i class="fa fa-table "></i>上传模块</a>-->
                    <!--</li>-->
                    <!--<li>-->
                    <!--<a href="#/punch"><i class="fa fa-table "></i>打卡模块</a>-->
                    <!--</li>-->
                    <li ng-show="admin==true">
                        <a href="#"><i class="fa fa-sitemap "></i>后台模块<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="#/staff">员工设置</a></li>
                            <!--<li>-->
                            <!--<a href="#role">角色设置</a>-->
                            <!--</li>-->
                            <li><a href="#/onetoone-discount">一对一优惠设置</a></li>
                            <li><a href="#/class-discount">班课优惠设置</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
        <!-- /. NAV SIDE  -->
        <div ng-view ></div>
        <!-- 路由入口 -->
         <!-- /. PAGE WRAPPER  -->
    </div>
     <!-- /. WRAPPER  -->
    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
    <!-- JQUERY SCRIPTS -->

    <script src="assets/js/ui-bootstrap-tpls.min.js"></script>  
    <!-- METISMENU SCRIPTS -->
    <script src="assets/js/jquery.metisMenu.js"></script>
    <script src="assets/js/custom.js"></script>
      <!-- CUSTOM SCRIPTS -->
    <!-- 滚动条 -->
    <script src="assets/js/jquery.nicescroll.js"></script>
    <!-- 日历组件 -->
    <script src="assets/js/calendar.js"></script>
    <script src="assets/js/dateSelect.js"></script>
    <script src="assets/js/bootstrap-clockpicker.js"></script>
    <!--自动补全-->
    <script src="assets/js/awesomplete.js"></script>
    <!--路由-->
    <script src="config/app.js"></script>
    <!-- 2017 / 7 / 23  -->
<!--所有组件-->
    <script src="config/directive.js"></script>
    <script src="assets/js/index.js"></script>
    <script src="home/information/information.js"></script>
    <script src="home/modify/modify.js"></script>
    <script src="home/book/book.js"></script>
    <script src="main/main.js"></script>
    <script src="examine/onetoonedaily/onetoonedaily.js"></script>
    <script src="examine/onetoonewithdraw/onetoonewithdraw.js"></script>
    <script src="examine/onetoonepay/onetoonepay.js"></script>
    <script src="examine/classdaily/classdaily.js"></script>
    <script src="examine/classwithdraw/classwithdraw.js"></script>
    <script src="examine/classpay/classpay.js"></script>
    <script src="recruit/Daily/Daily.js"></script>
    <script src="recruit/Daily/personal_onetoone/personal_onetoone.js"></script>
    <script src="recruit/Daily/personal_class/personal_class.js"></script>
    <script src="recruit/transfer/transfer.js"></script>
    <script src="recruit/transfer/revise/revise.js"></script>
    <script src="recruit/transfer/check/check.js"></script>
    <script src="recruit/transfer/teachingschedule/teachingschedule.js"></script>
    <script src="recruit/change/change.js"></script>
    <script src="recruit/change/reviseclass/reviseclass.js"></script>
    <script src="recruit/change/checkclass/checkclass.js"></script>
    <script src="recruit/change/transfer-daily/transfer-daily.js"></script>
    <script src="paike/one to one/oneToOne.js"></script>
    <script src="schedule/day/day.js"></script>
    <script src="schedule/schedule/schedule.js"></script>
    <script src="schedule/day/sign/sign.js"></script>
    <script src="punch/punch.js"></script>
    <script src="upload/upload.js"></script>
    <script src="finance/paymethod/paymethod.js"></script>
    <script src="finance/payrecord/payrecord.js"></script>
    <script src="teaching/subject/subject.js"></script>
    <script src="teaching/subject/teaching-subjects/teaching-subjects.js"></script>
    <script src="teaching/school/school.js"></script>
    <script src="teaching/grade/grade.js"></script>
    <script src="teaching/class/class.js"></script>
    <script src="teaching/class/class-subject/class-subject.js"></script>
    <script src="backstage/staff/staff.js"></script>
    <script src="backstage/role/role.js"></script>
    <script src="backstage/onetoone-discount/onetoone-discount.js"></script>
    <script src="backstage/class-discount/class-discount.js"></script>

</body>
</html>

